QT       += core gui qt widgets network


CONFIG += c++11 debug 

cxxflags="-DWINVER=0x0502"

# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
#DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0


include(../qt_ems_app.pri)

include(AppCommon/AppCommon.pri)
include(QtUi/QtUi.pri)
#include(EntranceServer/EntranceServer.pri)
include(QUnits/QUnits.pri)

QT_DEBUG_PLUGINS = 1
# 资源
SOURCES += \
    main.cpp \
    publicFunc.cpp \
    
# 头路径
INCLUDEPATH += \
	include \

# 头
HEADERS += \
    include/CAppUiConfig.h \
    include/CAppComm.h \
    publicFunc.h \

RESOURCES += \
    emsApp.qrc


# 加入库头文件路径
INCLUDEPATH += \
    $${PUBLIC_LIB_DIR}/include/base_lib \
    $${PUBLIC_LIB_DIR}/include/base_net \
    $${PUBLIC_LIB_DIR}/include/base_net \
    $${PUBLIC_LIB_DIR}/include/network_service \
    $${PUBLIC_LIB_DIR}/include/qtBaseLib \


#QMAKE_POST_LINK += mkdir -p $(TARGET_DIR)/../oem/bin/ &
#QMAKE_POST_LINK += mkdir -p $(TARGET_DIR)/../oem/res/ &

CONFIG(debug, debug|release) {
    win32: TARGET = $$join(TARGET,,,d)
}


#程序生成目录
DESTDIR = $${PUBLIC_LIB_DIR}/client/
DLLDESTDIR = $${PUBLIC_LIB_DIR}/client/
LIBDESTDIR = $${PUBLIC_LIB_DIR}/client/

target.path = $$PREFIX/client/
INSTALLS += target


